package com.huike.clues.mapper;



import com.huike.clues.domain.HkBusiness;
import com.huike.clues.dto.HkBusinessDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 商机;Mapper接口
 *
 * @author ruoyi
 * @date 2024-07-07
 */
@Mapper
public interface HkBusinessMapper
{
    /**
     * 查询商机;
     *
     * @param id 商机;主键
     * @return 商机;
     */
    public HkBusiness selectHkBusinessById(Long id);

    /**
     * 查询商机;列表
     *
     * @param hkBusiness 商机;
     * @return 商机;集合
     */
    public List<HkBusiness> selectHkBusinessList(HkBusinessDto hkBusiness);

    /**
     * 新增商机;
     *
     * @param hkBusiness 商机;
     * @return 结果
     */
    public int insertHkBusiness(HkBusiness hkBusiness);

    /**
     * 修改商机;
     *
     * @param hkBusiness 商机;
     * @return 结果
     */
    public int updateHkBusiness(HkBusiness hkBusiness);

    /**
     * 删除商机;
     *
     * @param id 商机;主键
     * @return 结果
     */
    public int deleteHkBusinessById(Long id);

    /**
     * 批量删除商机;
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHkBusinessByIds(Long[] ids);

    List<HkBusiness> selectHkSeaPoolList(HkBusinessDto hkSeaPool);
}
